package com.yidu.drug.dao;

import java.util.List;

import com.yidu.drug.model.QtSumModel;
import com.yidu.drug.model.QualityTestingModel;
import com.yidu.drug.model.RepertoryModel;
/**
 * 质检总报表
 * @author lsj
 *
 */
public interface QtSumModelMapper {
    int deleteByPrimaryKey(String sumId);

    int insert(QtSumModel record);

    int insertSelective(QtSumModel record);

    QtSumModel selectByPrimaryKey(String sumId);

    int updateByPrimaryKeySelective(QtSumModel record);

    int updateByPrimaryKey(QtSumModel record);

    List<QtSumModel> findDrugProduction(QtSumModel record);
    
    long findDrugProductionRows(QtSumModel record);
    
    List<QtSumModel> findMetailsPurchase(QtSumModel record);
    
    long findMetailsPurchaseRows(QtSumModel record);
}